package cn.bob.org.mapper;

import cn.bob.basic.mapper.IBaseMapper;
import cn.bob.basic.query.BaseQuery;
import cn.bob.org.domain.Dictionarydetail;

import java.util.List;

/**
 * @author bob
 * @data 2022/10/13-9:07
 */
public interface DictionarydetailMapper {
    //添加
    void add(Dictionarydetail dictionarydetail);

    //删除
    void delById(Long id);

    //批量删除
    void batchDel(List<Long> ids);

    //修改
    void update(Dictionarydetail dictionarydetail);

    //查询所有
    List<Dictionarydetail> findAll();

    //查询单条
    Dictionarydetail findById(Long id);

    //总查询所有的count
    Integer queryByCount(BaseQuery query);

    //分页查询
    List<Dictionarydetail> queryByPage(BaseQuery query);

    //联合删除
    void delBytyId(Long tyId);

    //抽屉
    List<Dictionarydetail>  drawer(Long id);
}
